package com.uestc.admin;

import java.util.Arrays;
import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;

public class IndexAdmin implements AdminBase {

	private String columnName = "indexColumns";
	private String tableName = "index";
	@Override
	public String getColumnName() {
		return columnName;
	}
	
	@Override
	public String getTableName() {
		return tableName;
	}

	@Override
	public String getInfo(int page, int limit, HttpServletRequest request) throws Throwable {
		return this.getDetailInfo(tableName, columnName, Arrays.asList(new String[] { "info" }), page, limit,
				request);
	}

	@Override
	public String getInfoWithCondition(int page, int limit, HashMap<String, String> conditions,
			HttpServletRequest request) throws Throwable {
		return null;
	}

	@Override
	public String getDateColumnName() {
		return null;
	}

}
